#!/usr/bin/env python
# -*- coding:utf-8 -*-
# @FileName :cp2_2.4.4_1.py
# @Time     :2023/6/24 17:31
# @Author   :Ash

if __name__ == "__main__":
    l = list(range(10))
    print(l)
    l[2:5] = [20, 30]
    print(l)
    del l[5:7]
    print(l)
    l[3::2] = [11, 22]
    print(l)
    l[2:5] = [100]
    print(l)
